/* You can add global styles to this file, and also import other style files */
@import '~material-design-icons/iconfont/material-icons.css';

@import "styles/variables";

@import "styles/markdown";
@import "styles/dragula";
@import "styles/behavior";
@import "styles/graphviz";
@import "styles/mermaid";

@import "styles/mdstyles/process-table";
@import "styles/mdstyles/infinity";
@import "styles/mdstyles/circle";
@import "styles/mdstyles/list-style";

html, body { height: 100%; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  // for firefox
  scrollbar-color: #ff4081 #fff;
  scrollbar-width: none;
}

body {
  max-width: 100%;
  max-height: 100%;
  min-width: 1200px;
  width: auto;
}

::-webkit-scrollbar {
  width: 8px;  /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}

/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
  background: #ff4081;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
  border-radius: 12px;
}

::-webkit-scrollbar-thumb {
  border-radius: 12px;
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

body {
  background: #fff;
  font-size: 16px;
  margin: 0;
}

@media screen and (min-width: 2501px) and (max-width: 4000px) {
  body {
    font-size: 20px;
  }
}

.markdown {
  img {
    //width: 400px;
  }
}

.spacer {
  flex: 1 1 auto;
}

.loading {
  margin: 5em auto;
}

.center {
  text-align: center;
}

.mat-button.active {
  background: #e91e63;
}

.webcomponents-plugins {

}

.github {
  height: 24px;
  line-height: 36px;
  margin: 0 4px 3px 0;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;

  img {
    width: 24px;
    height: 24px;
  }
}

.home-markdown {
  .no-toc-markdown {
    height: 256px !important;
  }
}
